#! /bin/sh

PHP_COMMAND="/usr/local/php/bin/php"

WORK_PATH=$(cd `dirname $0`; pwd)

COMMAND="$PHP_COMMAND $WORK_PATH/index.php";

for line in `$COMMAND`
do
 /usr/sbin/iptables -I INPUT -s $line -j DROP
 echo $line
done

